package vsm.vsm_server.mapper;

import org.apache.ibatis.annotations.Delete;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import vsm.vsm_server.pojo.Predict.Predict;


@Mapper
public interface PredictMapper {

    @Insert("insert into predict (videoId,userId,label) values (#{videoId},#{userId},#{label})")
    void savePredict(Predict predict);

    @Delete("delete predict")
    void deleteAllPredict();
}
